import { createRouter, createWebHistory } from "vue-router";
import HomePage from "../views/main.vue";
import withdraw_apply from "../views/withdraw_apply.vue";
import interest from "../views/interest.vue";
import staking from "../views/staking.vue";
import staking_sum from "../views/staking_sum.vue";
import withdraw_list from "../views/withdraw_list.vue";
import recommender from "../views/recommender.vue";
import mypage from "../views/mypage.vue";
import info_change from "../views/info_change.vue";
import pw_change from "../views/pw_change.vue";
import notice from "../views/notice.vue";
import inquiry from "../views/inquiry.vue";
import login from "../views/login.vue";
import join from "../views/join.vue";
import password from "../views/password.vue";

const routes = [
  { path: "/", component: HomePage },
  { path: "/main", component: HomePage },
  { path: "/withdraw_apply", component: withdraw_apply },
  { path: "/interest", component: interest },
  { path: "/staking", component: staking },
  { path: "/staking_sum", component: staking_sum },
  { path: "/withdraw_list", component: withdraw_list },
  { path: "/recommender", component: recommender },
  { path: "/mypage", component: mypage },
  { path: "/info_change", component: info_change },
  { path: "/pw_change", component: pw_change },
  { path: "/notice", component: notice },
  { path: "/inquiry", component: inquiry },
  { path: "/login", component: login },
  { path: "/join", component: join },
  { path: "/password", component: password },
  
];

export default createRouter({
  history: createWebHistory(),
  routes,
});
